<%@ page contentType="text/html;charset=utf-8" language="java"
	pageEncoding="UTF-8" import="java.util.Date"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="/WEB-INF/jsp/common/style.jsp"%>
<script type="text/javascript">

</script>

<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>

</head>


<body  style="background:none;">
   <div id="seach" class="mainInner"> 
    <div id="content">
		
      <div class="table-scroll">
          <table class="tab mb10" cellspacing="0" cellpadding="6" align="Center" rules="all" border="1" id="dgrdproduct" style="border-collapse: collapse; font-size: 12px;">
              <thead>
              <tr>
                  <th>商品ID</th>
                  <th>商品名称</th>
                  <th>属性</th>
                  <th>采购数量</th>
                  <th>采购单价</th>
                  <th>入库数量</th>
                  <th>合计</th>
              </tr>
              </thead>
              <tbody>
              <c:forEach items="${items}" var="item" varStatus="itemStatus">
                  <tr>
                      <td>${item.itemId}</td>
                      <td>${item.itemName}</td>

                      <td>${item.itemAttr1}<span></span>${item.itemAttr2}</td>
                      <td>${item.purchaseNum}</td>
                      <td><fmt:formatNumber value="${item.purPrice}" type="currency" pattern="0.00"/></td>
                      <td>${item.receiverNum}</td>
                      <td>${item.receiverNum==null?item.totalAmount:item.receiverAmount}</td>
                  </tr>
              </c:forEach>
              </tbody>
          </table>

      </div>
    </div>
    </div>
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
</body>
</html>
	